package com.nanhang.client;

import com.nanhang.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "user",fallbackFactory = UserClientFactory.class)
public interface Userclient {

    @GetMapping("/user/list")
    R list();
}
